import globalvar as gl

gl._init()

#需要忽略的SKU
ignore_sku_dic = ['HH-CM001']
#需要直接对整个SKU代码转换映射的代码
reflect_sku_dic = {
'X109191.HS':'WA|CN415T_BK_S',
'X109191.HM':'WA|CN415T_BK_M',
'X109191.HL':'WA|CN415T_BK_L',
'X109191.HXL':'WA|CN415T_BK_XL',
'X109191.H2X':'WA|CN415T_BK_2XL',
'X109191.HUS':'WA|CN415T_GY_S',
'X109191.HUM':'WA|CN415T_GY_M',
'X109191.HUL':'WA|CN415T_GY_L',
'X109191.HUXL':'WA|CN415T_GY_XL',
'X109191.HU2X':'WA|CN415T_GY_2XL',
'X109191.PKS':'WA|CN415T_PK_S',
'X109191.PKM':'WA|CN415T_PK_M',
'X109191.PKL':'WA|CN415T_PK_L',
'X109191.PKXL':'WA|CN415T_PK_XL',
'X109191.PK2X':'WA|CN415T_PK_2XL',
'X109191.RDS':'WA|CN415T_RD_S',
'X109191.RDM':'WA|CN415T_RD_M',
'X109191.RDL':'WA|CN415T_RD_L',
'X109191.RDXL':'WA|CN415T_RD_XL',
'X109191.RD2X':'WA|CN415T_RD_2XL',
'X109191.LS':'WA|CN415T_RY_S',
'X109191.LM':'WA|CN415T_RY_M',
'X109191.LL':'WA|CN415T_RY_L',
'X109191.LXL':'WA|CN415T_RY_XL',
'X109191.L2X':'WA|CN415T_RY_2XL',
'X109191.BGS':'WA|CN415T_SK_S',
'X109191.BGM':'WA|CN415T_SK_M',
'X109191.BGL':'WA|CN415T_SK_L',
'X109191.BGXL':'WA|CN415T_SK_XL',
'X109191.BG2X':'WA|CN415T_SK_2XL',
'CN295T.AGS':'CN295T_AG_S',
'CN295T.AGM':'CN295T_AG_M',
'CN295T.AGL':'CN295T_AG_L',
'CN295T.AGXL':'CN295T_AG_XL',
'CN295T.AG2XL':'CN295T_AG_2XL',
'CN121T_CM_S':'CN121T_CA_S',
'CN121T_CM_M':'CN121T_CA_M',
'CN121T_CM_L':'CN121T_CA_L',
'CN121T_CM_XL':'CN121T_CA_XL',
'CN121T_CM_2XL':'CN121T_CA_2XL'
}
#需要特殊处理的SKU
special_sku_dic = {
'0000596807676':('CN019T-BKS','CN019T','BK','S'),
'0000596545340':('CN019T-WH2XL','CN019T','WH','2XL'),
'0000596545323':('CN019T-DGXL','CN019T','DG','XL'),
'0000596545364':('CN019T-DRL','CN019T','DR','L'),
'0000596545331':('CN019T-BKM','CN019T','BK','M'),
'0000596545370':('CN019T-PKXL','CN019T','PK','XL'),
'0000596545300':('CN019T-GRL','CN019T','GR','L')
}

gl.set_value('ignore_sku_dic',ignore_sku_dic)
gl.set_value('reflect_sku_dic',reflect_sku_dic)
gl.set_value('special_sku_dic',special_sku_dic)